Parking Cars of Different Sizes
نویسندگان
چکیده
We extend the notion of parking functions to parking sequences, which include cars of different sizes, and prove a product formula for the number of such sequences. 1 The result. Parking functions were first introduced by Konheim and Weiss [5]. The original concept was that of a linear parking lot with n available spaces, and n cars with a stated parking preference. Each car would, in order, attempt to park in its preferred spot. If the car found its preferred spot occupied, it would move to the next available slot. A parking function is a sequence of parking preferences that would allow all n cars to park according to this rule. This definition is equivalent to the following formal definition: Definition 1.1. Let ~a = (a1, a2, . . . , an) be a sequence of positive integers, and let b1 ≤ b2 ≤ · · · ≤ bn be the increasing rearrangement of ~a. Then the sequence ~a is a parking function if and only if bi ≤ i for all indexes i. It is well known that the number of such parking functions is (n+ 1). This is Cayley’s formula for the number of labeled trees on n+1 nodes and Foata and Riordan found a bijective proof [3]. Stanley discovered the relationship between parking functions and non-crossing partitions [10]. Further connections have been found to other structures, such as priority queues [4], Gončarov polynomials [6] and hyperplane arrangements [11]. The notion of a parking function has been generalized in myriad ways; see the sequence of papers [2, 6, 7, 8, 12]. We present here a different generalization, returning to the original idea of parking cars. This time the cars have different sizes, and each takes up a number of adjacent parking spaces. Definition 1.2. Let there be n cars C1, . . . , Cn of sizes y1, . . . , yn, where y1, . . . , yn are positive integers. Assume there are ∑ n i=1 yi spaces in a row. Furthermore, let car Ci have the preferred spot ci. Now let the cars in the order C1 through Cn park according to the following rule: Starting at position ci, car Ci looks for the first empty spot j ≥ ci. If the spaces j through j + yi − 1 are empty, then car Ci parks in these spots. If any of the spots j + 1 through j + yi − 1 is already occupied, then there will be a collision, and the result is not a parking sequence.
منابع مشابه
Prioritization of Parking Places Using Methods Fuzzy (Case Study: The City of Sari)
Today, control urban sprawl and cars are increasing every day.Move the cars to travel side absorption centers in cities creates numerous problems. Among these problems, the lack of convenient parking is in the inner cities.City managers, because of expensive land in city centers and for efficient use of space in the city, the plans include parking backed-up.. To determine the optimum site parki...
متن کاملA Method for Navigating Cars in Multilevel Parking Facility
In this paper, we focus on multilevel parking facilities and propose a navigation system that minimizes the time required for cars to find vacant parking spaces. Parking zones at large parking facilities provide drivers conditions to drivers due to differences in distances from the entrance of the parking facility or to the entrances of the shopping areas. This leads to many cars concentrating ...
متن کاملAsymptotics in Knuth's parking problem for caravans
We consider a generalized version of Knuth’s parking problem, in which caravans consisting of a random number of cars arrive at random on the unit circle. Then each car turns clockwise until it finds a free lot to park. Extending a recent work by Chassaing and Louchard [9], we relate the asymptotics for the sizes of blocks formed by occupied lots with the dynamics of the additive coalescent. Ac...
متن کاملCruising for Parking around a Circle
There has recently been considerable interest in cruising for curbside parking as a major contributor to traffic congestion in the downtown areas of major cities. The density of cars cruising for parking in the downtown area is related to the rate at which cars in transit in the downtown area start cruising for parking and the expected search time of a car that starts cruising for parking. This...
متن کاملParking in the City
Our aim is to describe the spacing distribution between cars parked parallel to the curb somewhere in the center of a city. We will assume that the street is long enough to enable a parallel parking of many cars. Moreover we assume that there are no driveways or side streets in the segment of interest and that the street is free of any kind of marked parking lots or park meters. So the drivers ...
متن کامل